@extends('layouts.template')

@section('title', '个人中心')

@section('header')
@endsection

@section('content')
    <script>
        $(function () {
        });
    </script>

    @foreach ($list as $row)
    <div class="cont-t">
        <div class="tbox">
            <div class="fl">
                <h2>{{$row->type_text}}
                    @if (($row->type == $trade_type_cash) && ($row->assoc->status == $master_cash_review))
                        <span>(审核中)</span>
                    @endif
                </h2>
                <p>钱包余额:{{$row->balance}}</p>
            </div>
            <div class="fr">
                <p>{{$row->add_time->format('Y-m-d')}}</p>
                <h2>{{$row->direction_text}}{{$row->amount}}</h2>
            </div>
        </div>
    </div>
    @endforeach
@endsection